package com.zzwx.test.dbunit;



public class DBUnitMain {

	public static void main(String[] args) {
//		DBUnitAll db = new DBUnitAll();
//		db.setUpBackupAll("test_data.xml");
//		db.recoverAllData();
		
//		DBUnitEach each = new DBUnitEach();
//		each.setUpBackupEach("test_data.xml", new String[]{"sys_role","sys_menu"});
//		each.recoverBackupEach();
		
		DBUnitEachAll eachall = new DBUnitEachAll();
		eachall.setUpBackupEachAll("test_data.xml", new String[]{"sys_role","sys_menu"});
		eachall.recoverBackupEachAll();
	}
}
